package com.xb.cloud.order.model.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.xb.cloud.order.model.So;
import com.xb.cloud.order.model.SoExample;

public interface SoMapper {
    int countByExample(SoExample example);

    int deleteByExample(SoExample example);

    int insert(So record);

    int insertSelective(So record);

    List<So> selectByExample(SoExample example);

    int updateByExampleSelective(@Param("record") So record, @Param("example") SoExample example);

    int updateByExample(@Param("record") So record, @Param("example") SoExample example);
    
	List<Map<String, Object>> getOrderCountWithStatus(SoExample example);
	int updateSoBatch(List<So> list );
}